﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.nm.Attributes;


namespace DistributeAPI.Model
{
    public class DCBasModelMinQtyModel
    {
        #region Entity

        public class Entity
        {
            [ParamDescription("来源公司")]
            public string ExtrSource { get; set; }

            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }

            [ParamDescription("店铺")]
            public string ShopID { get; set; }

            [ParamDescription("类别")]
            public string KindID { get; set; }

            [ParamDescription("品类")]
            public string ModelID { get; set; }

            [ParamDescription("小品类")]
            public string ItemId { get; set; }

            [ParamDescription("尺码类型")]
            public string SizeTypeFlag { get; set; }

            [ParamDescription("尺码")]
            public string SizeID { get; set; }


            [ParamDescription("首配深度")]
            public int FirstDCQty { get; set; }

            [ParamDescription("最小深度")]
            public int MinQty { get; set; }

            [ParamDescription("审核人")]
            public string Checker { get; set; }

            [ParamDescription("修改时间")]
            public DateTime MofifyDTM { get; set; }

            [ParamDescription("允许使用")]
            public int AllowUsed { get; set; }

            [ParamDescription("抽数时间")]
            public DateTime LoadTime { get; set; }

            [ParamDescription("修改时间")]
            public DateTime EtlTime { get; set; }

            [ParamDescription("尺码类型")]
            public string SizeLength { get; set; }
        }

        #endregion

        #region ListModel

        public class ListModel
        {
            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }

            [ParamDescription("店铺")]
            public string ShopID { get; set; }

            [ParamDescription("类别")]
            public string KindID { get; set; }

            [ParamDescription("品类")]
            public string ModelID { get; set; }

            [ParamDescription("小品类")]
            public string ItemID { get; set; }

            [ParamDescription("尺码类型")]
            public string SizeTypeFlag { get; set; }

            [ParamDescription("尺码")]
            public string SizeID { get; set; }


            [ParamDescription("首配深度")]
            public int FirstDCQtySum { get; set; }

            [ParamDescription("最小深度")]
            public int MinQtySum { get; set; }

            //[ParamDescription("审核人")]
            //public string Checker { get; set; }

            //[ParamDescription("修改时间")]
            //public DateTime MofifyDTM { get; set; }

            //[ParamDescription("允许使用")]
            //public int AllowUsed { get; set; }

            //[ParamDescription("抽数时间")]
            //public DateTime LoadTime { get; set; }

            //[ParamDescription("修改时间")]
            //public DateTime etl_date { get; set; }

            #region new

            [ParamDescription("类型名")]
            public string KindName { get; set; }

            [ParamDescription("店铺")]
            public string ShopName { get; set; }

            [ParamDescription("品类名")]
            public string ModelName { get; set; }


            [ParamDescription("小品类")]
            public string ItemName { get; set; }

            #endregion

            [ParamDescription("尺码类型")]
            public string SizeLength { get; set; }
        }

        #endregion

        #region InsertModel

        public class InsertModel
        {
            public InsertModel()
            {
                SizeList = new List<SizeModel>();
            }

            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }

            [ParamDescription("店铺")]
            public string Shop { get; set; }


            //[ParamDescription("店铺ID")]
            //public string ShopID { get; set; }

            [ParamDescription("类别")]
            public string KindID { get; set; }

            [ParamDescription("品类")]
            public string ModelID { get; set; }

            [ParamDescription("尺码类型")]
            public string SizeTypeFlag { get; set; }

            [ParamDescription("尺码")]
            public string SizeID { get; set; }

            //[ParamDescription("首配深度")]
            //public int MinQty { get; set; }

            [ParamDescription("首配最低深度-尺码")]
            public List<SizeModel> SizeList { get; set; }

            [ParamDescription("小品类ID")]
            public string ItemID { get; set; }

            [ParamDescription("尺码类型")]
            public string SizeLength { get; set; }
        }

        #endregion

        #region UpdateModel

        public class UpdateModel
        {
            public UpdateModel()
            {
                SizeList = new List<SizeModel>();
            }

            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }

            [ParamDescription("店铺")]
            public string Shop { get; set; }

            [ParamDescription("店铺ID")]
            public string ShopID { get; set; }

            [ParamDescription("类别")]
            public string KindID { get; set; }


            [ParamDescription("品类")]
            public string ModelID { get; set; }

            [ParamDescription("小品类")]
            public string ItemID { get; set; }

            [ParamDescription("小品类")]
            public string ItemName { get; set; }

            [ParamDescription("尺码类型")]
            public string SizeTypeFlag { get; set; }

            [ParamDescription("尺码")]
            public string SizeID { get; set; }

            [ParamDescription("首配深度")]
            public int MinQty { get; set; }



            [ParamDescription("公司代码")]
            public string OriginalCompanyID { get; set; }

            [ParamDescription("店铺")]
            public string OriginalShop { get; set; }

            [ParamDescription("店铺ID")]
            public string OriginalShopID { get; set; }

            [ParamDescription("类别")]
            public string OriginalKindID { get; set; }

            [ParamDescription("品类")]
            public string OriginalModelID { get; set; }

            [ParamDescription("类别")]
            public string OriginalItemID { get; set; }

            [ParamDescription("品类")]
            public string OriginalItemName { get; set; }


            [ParamDescription("尺码")]
            public string OriginalSizeID { get; set; }

            [ParamDescription("尺码类型")]
            public string OriginalSizeTypeFlag { get; set; }

            [ParamDescription("尺码长度")]
            public string OriginalSizeLength { get; set; }

            [ParamDescription("最低深度-尺码")]
            public List<SizeModel> SizeList { get; set; }

            [ParamDescription("尺码长度")]
            public string SizeLength { get; set; }
        }

        #endregion

        #region ExcelModel

        public class ImportExcelModel
        {
            //[ParamDescription("公司代码")]
            //public string CompanyID { get; set; }

            //[ParamDescription("店铺ID")]
            //public string ShopID { get; set; }

            //[ParamDescription("类别ID")]
            //public string KindID { get; set; }

            //[ParamDescription("品类ID")]
            //public string ModelID { get; set; }

            //[ParamDescription("尺码")]
            //public string SizeID { get; set; }

            [ParamDescription("首配深度")]
            public int FirstDCQty { get; set; }

            [ParamDescription("最低深度")]
            public int MinQty { get; set; }

            [ParamDescription("店铺编码")]
            public string ShopCode { get; set; }

            [ParamDescription("类别")]
            public string KindName { get; set; }

            [ParamDescription("品类")]
            public string ModelName { get; set; }

            [ParamDescription("小品类")]
            public string ItemName { get; set; }

            [ParamDescription("尺码类型")]
            public string SizeTypeFlag { get; set; }

            [ParamDescription("尺码")]
            public string SizeName { get; set; }

            [ParamDescription("尺码长度")]
            public string SizeLength { get; set; }

        }

        #endregion

        #region SizeModel

        public class SizeModel
        {
            [ParamDescription("尺码ID")]
            public string SizeID { get; set; }

            [ParamDescription("尺码")]
            public string SizeName { get; set; }

            [ParamDescription("最低深度")]
            public int MinQty { get; set; }

            [ParamDescription("首配深度")]
            public int FirstDCQty { get; set; }
        }

        #endregion

        #region MinSizeModel

        public class MinSizeModel
        {
            [ParamDescription("尺码ID")]
            public string SizeID { get; set; }


            [ParamDescription("最低深度")]
            public int MinQty { get; set; }

            [ParamDescription("尺码")]
            public string SizeName { get; set; }

        }

        #endregion

        #region QueryModel

        public class QueryModel
        {
            public QueryModel()
            {
                SizeList = new List<SizeModel>();
            }

            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }

            [ParamDescription("店铺ID")]
            public string ShopID { get; set; }

            [ParamDescription("类别")]
            public string KindID { get; set; }

            [ParamDescription("品类")]
            public string ModelID { get; set; }

            [ParamDescription("尺码类型")]
            public string SizeTypeFlag { get; set; }

            [ParamDescription("尺码")]
            public string SizeID { get; set; }

            [ParamDescription("最低配置")]
            public int MinQty { get; set; }

            [ParamDescription("最低深度-尺码")]
            public List<SizeModel> SizeList { get; set; }

            #region new

            [ParamDescription("类型名")]
            public string KindName { get; set; }

            [ParamDescription("店铺")]
            public string ShopName { get; set; }

            [ParamDescription("品类名")]
            public string ModelName { get; set; }

            [ParamDescription("尺码")]
            public string SizeName { get; set; }

            [ParamDescription("首配深度")]
            public int FirstDCQty { get; set; }

            [ParamDescription("小品类")]
            public string ItemID { get; set; }

            [ParamDescription("小品类")]
            public string ItemName { get; set; }
            #endregion


            [ParamDescription("尺码长度")]
            public string SizeLength { get; set; }
        }

        #endregion

        #region SizeTypeFlagModel

        public class SizeTypeFlagModel
        {
            [ParamDescription("尺码类型")]
            public string SizeTypeFlag { get; set; }
        }

        #endregion

        #region FirstDCQtySizeModel

        public class FirstDCQtySizeModel
        {
            [ParamDescription("尺码ID")]
            public string SizeID { get; set; }


            [ParamDescription("首配深度")]
            public int FirstDCQty { get; set; }

            [ParamDescription("尺码")]
            public string SizeName { get; set; }

        }

        #endregion

    }
}
